﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NGUYENTHANHDONG.OOP.Inhertance___Polimophism.SAMPLES.SAMPLES_03
{
    class NONGDAN: NGUOI
    {
        int GioLD, KyNang;

        public NONGDAN()
        { }

        public NONGDAN(int tay, int chan, string mauda, string thucan, int giold, int kynang, string nongcu, string trangphuc): base(tay, chan, mauda, thucan)
        {
            GioLD = giold;
            KyNang = kynang;
            NongCu = nongcu;
            TrangPhuc = trangphuc;
        }
        public int KYNANG
        {
            get { return KyNang; }
            set { KyNang = value; }
        }

        public int GIOLD
        {
            get { return GioLD; }
            set { GioLD = value; }
        }
        string NongCu, TrangPhuc;

        public string TRANGPHUC
        {
            get { return TrangPhuc; }
            set { TrangPhuc = value; }
        }

        public string NONGCU
        {
            get { return NongCu; }
            set { NongCu = value; }
        }

        public int LaoDong()
        {
            return 100;
        }
    }
}
